<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="format-detection" content="telephone=no" />
		<link rel="stylesheet" href="/static/webAPP/css/reset.css" type="text/css"/>
		<title>payment支付完成</title>
		<style>
			.payment{
				width: 80px;
				height: 80px;
				border-radius: 50px;
				position: absolute;
				top: 200px;
				left: 40%;
			}
			.payment img{
				width: 100%;
				height: 100%;
				color: rgb(207, 25, 25);
			}
			.payment span{
				color: #ccc;
				font-size: 20px;
			}
			.payment i{
				display: block;
				width: 150%;
				color: #ccc;
				font-size: 14px;
				margin-top: 15px;
			}
			#time{
				text-indent: 39px;
			}
		</style>
	</head>
	<body>
		<div class="payment">
			<img src="/static/webAPP/images/payment.png" alt="">
			<span>支付成功</span>
			<i><p id="time">5</p>后返回购物车...</i>
		</div>
		<!-- <script src="./js/jquery-1.8.3.min.js"></script> -->
		<script>
			window.setInterval("countDown()",1000);
			function countDown(){
				var time = document.getElementById("time");
				if(time.innerHTML == 0){
					window.location.href="/static/webAPP/index.html";
				}else{
					time.innerHTML = time.innerHTML-1;
				}
			}
		</script>
	</body>
</html>
